// ============================== 导入依赖 ============================== //

import API from '@admin/views/Secure/Face/FaceLib/store/API'

// ============================== 导出异步调用 ============================== //

export default {
  // —————————————————————————————— 下拉框 —————————————————————————————— //

  async remoteSelect({ state: { selectParam } }) {
    const [, arr] = await API.getList(selectParam)
    return transSelect(arr)
  },
}

// ============================== 转换方法 ============================== //

const transSelect = (arr) => {
  return arr
}
